define
(    
    function()
    {        
        FrameCreateAction = function(taskChangeId, frame, predecessorFrameId)
        {                      
            this.toJSON = function()
            {
                return {id: this.id, taskChangeId: taskChangeId, frame: frame, predecessorFrameId: predecessorFrameId};
            };
        };

        FrameCreateAction.prototype.id = FrameCreateAction.id = "FrameCreateAction";
        return FrameCreateAction;        
    }
);